<template>
  <div>
    <my-input v-model="value"></my-input>
    <p>{{ value }}</p>
  </div>
</template>
<script>
import myInput from "../components/myInput.vue";
export default {
  components: {
    myInput,
  },
  data() {
    return {
      value: "",
    };
  },
  methods:{
      input(val){
        //   console.log(val);
        this.value = val
      }
  }
};
</script>